// 请求接口验证code
export const getApiDataRules = () => {
    const apiRulesData = (res) => {
        if (res.code == 200) {
            return res.data
        }
    }
    const apiRulesRows = (res) => {
        let { code, rows, total } = res
        if (code == 200) {
            return { rows, total }
        }
    }
    return {
        apiRulesData,
        apiRulesRows
    }
}